package com.hzhc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzhc.entity.SysYzsMenu;
import com.hzhc.vo.SysMenuVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author dongcy
 * @date 2024/4/12 9:21
 * @description SysYzsMenuMapper
 */
@Mapper
public interface SysYzsMenuMapper extends BaseMapper<SysYzsMenu> {

    List<SysMenuVo> selectMenuByYzsRole(@Param("code") String roleCodes);

    List<SysMenuVo> selectMenuByMemberIdOrName(@Param("name") String name, @Param("userId") Long userId);


    String getUrlByName(@Param("name") String name);

}
